package com.cc.service.impl;

import com.cc.entity.ProductTypes;
import com.cc.mapper.ProductTypesMapper;
import com.cc.service.ProductTypesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class ProductTypesServiceImpl implements ProductTypesService {
    @Autowired
    ProductTypesMapper productTypesMapper;
    @Override
    public List<ProductTypes> list() {
        return productTypesMapper.list();
    }
}
